package ffmvc.model;

import java.sql.ResultSet;
import java.sql.SQLException;
import org.springframework.jdbc.core.RowMapper;

public class ManagerPerformanceRowMapper implements RowMapper<ManagerPerformance>{

	@Override
	public ManagerPerformance mapRow(ResultSet rs, int line) throws SQLException {
		ManagerPerformanceExtractor extractor = new ManagerPerformanceExtractor();
		return extractor.extractData(rs);
	}

}
